package com.xuqm.sdhbwfu.app.model


import com.google.gson.annotations.SerializedName

data class RiskUserModel(
    @SerializedName("createTime")
    val createTime: String,
    @SerializedName("enabled")
    val enabled: Boolean,
    @SerializedName("id")
    val id: Long,
    @SerializedName("locked")
    val locked: Boolean,
    @SerializedName("mail")
    val mail: String,
    @SerializedName("name")
    val name: String,
    @SerializedName("oganizations")
    val oganizations: List<Oganization>,
    @SerializedName("password")
    val password: Any,
    @SerializedName("permissions")
    val permissions: List<Any>,
    @SerializedName("phone")
    val phone: String,
    @SerializedName("roles")
    val roles: List<Any>,
    @SerializedName("salt")
    val salt: String,
    @SerializedName("typeCode")
    val typeCode: String,
    @SerializedName("updateTime")
    val updateTime: String,
    @SerializedName("username")
    val username: String
) {
    data class Oganization(
        @SerializedName("authDetailDTO")
        val authDetailDTO: Any,
        @SerializedName("code")
        val code: String,
        @SerializedName("id")
        val id: Long,
        @SerializedName("name")
        val name: String,
        @SerializedName("parent")
        val parent: Any,
        @SerializedName("parentName")
        val parentName: Any,
        @SerializedName("sign")
        val sign: String,
        @SerializedName("users")
        val users: List<Any>
    )
}